DefaultHttpEngine

fun DefaultHttpEngine(connectTimeoutMillis: Long, readTimeoutMillis: Long): HttpEngine

Parameters

connectTimeoutMillis

The connection timeout in milliseconds. The connection timeout is the time period in which a client should establish a connection with a server.

readTimeoutMillis

The request timeout in milliseconds. The request timeout is the time period required to process an HTTP call: from sending a request to receiving a response.